home *** CD-ROM | disk | FTP | other *** search
/ BMUG PD-ROM A / PD-ROM A.iso / Programming / Programming Languages / MacOberon / MacOberon (core) / Welcome.Txt (.txt) < prev    next >
Encoding:
Oberon Text  |  1991-02-14  |  6.6 KB  |  49 lines  |  [.Ob./.Ob2]

  1. Syntax10.Scn.Fnt
  2. Syntax14b.Scn.Fnt
  3. Syntax10i.Scn.Fnt
  4. MacOberon V2.0
  5. Copyright (C) 1991 by Institut f
  6. r Computersysteme
  7. Eidgen
  8. ssische Technische Hochschule Z
  9. ETH-Zentrum, CH-8092 Z
  10. rich, Switzerland
  11. MacOberon is distributed on an "as is" basis.
  12. No fitness for any particular purpose is claimed or implied.
  13. Permission for unlimited duplication and distribution is herewith granted, provided that this notice is distributed unaltered along with the Software.  Please read the request for registration at the end of this document.
  14. <- This is the Scroll Bar
  15. In order to scroll upwards, move the mouse into the Scroll Bar next to the line that you wish to move to the top of the window.  Then click the mouse button.
  16. Getting started with MacOberon
  17. Oberon is an extensible system.  There is no difference between functions offered by the operating system and functions added by a user which enhance the basic system.  As a matter of fact, Oberon abandons the notion of a Program altogether.  Atomic actions in Oberon are called Commands.
  18. Commands are parameterless procedures which may be executed directly from the operating system interface.  Procedures from anywhere in a module hierarchy may be called in this way and there is no need for a "top" module which distributes commands to other modules.  Instead, command distribution is built into the operating system.  When a command terminates, control is passed back to the operating system's main loop.  However, the module that contained the last command remains loaded in the system and all of its global variables remain unaltered.  Subsequent commands may reference these variables freely.
  19. The granularity of commands may be quite fine.  Typical commands display the directory of a storage device, increase the font size of the text last selected or compile the contents of the active window.  A user may execute commands in any sequence and may thus be working on completely different problems in different windows at the same time.  We call this "one-process multitasking".
  20. Using Commands
  21. Commands are activated by the use of an Action Button (on the Macintosh, this is the Control key on the keyboard).  Pressing the Action Button while pointing at any text anywhere on the screen will try to execute a command of that name.  This may be text in a word processor document, captions in a drawing, or even the title string of a window.
  22. The system will then attempt to interpret the text that is pointed at as "Modulename.Commandname" and search for the corresponding module, possibly loading it from disk if it cannot be found in memory.  If the module is present or can be loaded, it will then search for the requested command and execute it.  If the module or the command cannot be found, the system will simply resume its usual input state (i.e. not display an error message).
  23. For example, the text written in italics following this paragraph is a command that will display the current time in the Log Viewer (the window in the upper right corner).  Execute this command by moving the mouse over it and pressing the "control" key on your keyboard:
  24.                                         System.Time
  25. Extensibility
  26. The main feature of Oberon is extensibility.  A user can add an arbitrary number of commands to the system at any time simply by writing a module and compiling it.  There is no need to install the command (it may be activated as soon as compilation is completed) and modules containing commands are not added to the system until an actual call is made. The <working menus> of commands that users keep (called Tools in Oberon) are regular text documents and freely editable.
  27. Even the basic resources of the system are extensible.  For example, the editor you are just using supports "live" extensions of characters which are sent messages when editing operations occur.  The moving objects that you see below are such "extensions" of characters.  They float in the text just as characters, and may be cut, copied and pasted.
  28. To Probe Further
  29. A lot of documentation is supplied in this distribution.  Execute the command below (by pressing and releasing the Command key over it) for viewing a first introduction to the built-in mouse commands and most important basic commands of Oberon:
  30.                         Leda.Open MacOberonStarter.Doc
  31. We have also prepared a Tool for you that leads you to further documentation about different parts of the system.  Please:
  32.                         Write.SysOpen Documentation.Tool
  33. Portability
  34. Oberon is also available for Ceres, DECStation running ULTRIX, Sun SPARC and IBM R6000 machines.  Shortly, there will be a version for Intel 80386 processors running AIX.  The Oberon libraries on those machines as well as the document architectures in all implementations are identical.  For example, you could open this document on any of the machines mentioned above and see the same moving icon and clocks, despite even the fact that not all of the machines use the same byte ordering
  35. Only the compiler and the low-level-modules Kernel, Macintosh, Modules, Input, Display, Display1, Fonts, Files, Files1, Reals, SCC, Printer, Math, MathL and Oberon contain some machine-specific code.  All other modules, including the Leda, Write and Draw application packages and the user interface modules (Texts, Viewers, MenuViewers, TextFrames) were simply recompiled on the Macintosh without changing a single line of source text.
  36. Registration
  37. MacOberon is free.  However, we would like to know who is using it.  Please send a postcard with the words "I like MacOberon" (or the opposite, if you don't) and your name and address on it to:
  38.                 Michael Franz
  39.                 Computersysteme ETH
  40.                 8092 Zurich, Switzerland
  41. Picture postcards are preferred, because we can paste them to our wall...  If you give us your E-mail address, we will also keep you informed of updates.
  42. Enjoy!                                                        Michael S. Franz, 14.2.91
  43. WriteParcs.Alloc
  44. WriteParcs.Alloc
  45. IconElems.Alloc
  46. ClockElems.Alloc
  47. ClockElems.Alloc
  48. ClockElems.Alloc
  49.